package cn.appsys.dao.backenduser;

import cn.appsys.pojo.BackendUser;
import cn.appsys.pojo.DevUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BackendUserMapper {

	/**
	 * 通过userCode获取User
	 * @param userCode
	 * @return
	 * @throws Exception
	 */
	public BackendUser getLoginUser(@Param("userCode") String userCode)throws Exception;

    int getCount();

	int getUserCheckListCount(@Param("queryUserName") String queryUserName);

	List<DevUser> getUserCheckInfoList(@Param("queryUserName")String queryUserName, @Param("currentPageNo")Integer currentPageNo, @Param("pageSize")int pageSize);
}
